package com.coc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("com.coc.dao")
@ServletComponentScan//druid监控页面是一个servlet，需要让SpingBoot支持servlet
public class CocApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(CocApiApplication.class, args);
    }

}
